#include <stdio.h>
#define change(a,b) {a+=b;b=a-b;a=a-b;}
int main()
{
	int x,y;
	scanf("%d%d",&x,&y);
	change(x,y);
	printf("%d %d\n",x,y);
}
